package com.jic.data.mapper;
import java.util.List;
import java.math.BigDecimal;
import com.jic.data.model.entity.CustomerConsumeRecord;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface CustomerConsumeRecordMapper {
	/**
	 * CUSTOMER_CONSUME_RECORD插入数据
	 * @param customerConsumeRecord 入参实体类
	 */
	int insert (CustomerConsumeRecord customerConsumeRecord);

	/**
	 * CUSTOMER_CONSUME_RECORD插入数据
	 * @param customerConsumeRecord 入参实体类
	 */
	int insertSelective (CustomerConsumeRecord customerConsumeRecord);

	/**
	 * CUSTOMER_CONSUME_RECORD根据表对象数据修改数据
	 * @param customerConsumeRecord 入参实体类
	 */
	int updateByPrimaryKey (CustomerConsumeRecord customerConsumeRecord);

	/**
	 * CUSTOMER_CONSUME_RECORD根据表对象数据修改数据
	 * @param customerConsumeRecord 入参实体类
	 */
	int updateByPrimaryKeySelective (CustomerConsumeRecord customerConsumeRecord);

	/**
	 * CUSTOMER_CONSUME_RECORD根据id删除数据
	 * @param customerConsumeRecord 入参实体类
	 */
	int deleteByPrimaryKey (CustomerConsumeRecord customerConsumeRecord);

	/**
	 * CUSTOMER_CONSUME_RECORD根据主键查询数据
	 * @param customerConsumeRecord 入参实体类
	 */
	CustomerConsumeRecord selectByPrimaryKey (CustomerConsumeRecord customerConsumeRecord);

	/**
	 * CUSTOMER_CONSUME_RECORD根据主键查询数据
	 * @param customerConsumeRecord 入参实体类
	 */
	List<CustomerConsumeRecord> listPageBySelective (CustomerConsumeRecord customerConsumeRecord);

	/**
	 * CUSTOMER_CONSUME_RECORD查询数据
	 * @param customerConsumeRecord 入参实体类
	 */
	List<CustomerConsumeRecord>  selectBySelective (CustomerConsumeRecord customerConsumeRecord);

	}
